Skip to content

fix(camera): Pulsating luminance#26

Merged
odudex merged 1 commit intomasterfrom
pulsating_camera_fix
Apr 24, 2026
Merged

fix(camera): Pulsating luminance#26
odudex merged 1 commit intomasterfrom
pulsating_camera_fix

Conversation

@odudex
Copy link
Copy Markdown
Owner

@odudex odudex commented Apr 24, 2026

  • fix(qr): stop white flashes in scanner settings overlay on wave_5
  • fix(qr): add breathing room between last settings slider and Close button
  • chore(bsp): consolidate shared BSP Kconfig symbols into bsp_common
  • fix(camera): widen AE hysteresis and cap gain to stop luminance pulsing
  • fix(qr): skip focus-motor probe on boards without a motor
  • fix(camera): disable ISP pipeline controller to stop luminance pulsing

Disable the ESP32-P4 ISP pipeline controller so its ~30Hz AE loop stops fighting OV5647's built-in AE via V4L2_CID_EXPOSURE. Drop the now-obsolete app_video_disable_af() and the dead CONFIG_LVGL_PORT_ENABLE_PPA symbol.

Widen the on-sensor AE stable band from ±8% to ±30% and cap the gain ceiling at 0x01FF (~32x, analog-gain only) via direct SCCB writes on a second handle sharing the camera I2C bus. Apply the same tuning to entropy capture, which previously inherited defaults.

Skip the focus-motor V4L2 probe on boards without BSP_CAM_HAS_MOTOR to stop "ctrl id=9a090a is not supported" log spam on wave_35/wave_5.

Make the scanner settings overlay non-blending (LV_OPA_TRANSP blocker, LV_OPA_COVER panel) to stop white flashes on wave_5 caused by per-frame alpha blending fighting SCCB writes and MIPI DSI DMA.

Also consolidate shared BSP Kconfig symbols into bsp_common and add breathing room between the last settings slider and the Close button.
@odudex odudex force-pushed the pulsating_camera_fix branch from 7b22538 to ee867e9 Compare April 24, 2026 20:41
@odudex odudex merged commit 1775b9b into master Apr 24, 2026
7 checks passed
@odudex odudex deleted the pulsating_camera_fix branch April 25, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant